package com.uplift.mobile.product.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.uplift.mobile.product.model.Order;

@Repository
public interface IOrderMapper {
	/**
	 * 查询订单
	 * 
	 * @param Order
	 * @return List<Map<String, Object>>
	 */
	public List<Map<String, Object>> selectOrder(Order order);

	/**
	 * 新增订单
	 * 
	 * @param Order
	 * @return int
	 */
	public int insertOrder(Order order);

	/**
	 * 删除订单
	 * 
	 * @param Order
	 * @return int
	 */
	public int deleteOrder(Order order);

	/**
	 * 修改订单
	 * 
	 * @param Order
	 * @return int
	 */
	public int updateOrder(Order order);
}
